iconhelper: Simplify code
authorBenjamin Otte <otte@redhat.com>
Thu, 8 May 2014 16:42:35 +0000 (18:42 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 11 May 2014 01:23:54 +0000 (03:23 +0200)
commitfa8ca5fd13e9c6f8fd289d0db849d229e16b688f
tree201c9e4a140c164f88de496e1e81e5e569f28f55
parent61ed31a473d1ad6207041ade5fc0461ae9975517
iconhelper: Simplify code

In the GTK_IMAGE_ICON_NAME case, instead of keeping around the icon_name,
create a GThemedIcon and use that. This way, we can reuse the code paths
for the GTK_IMAGE_GICON case.
gtk/gtkiconhelper.c